package com.fcc.wfly.solution.controller.service.impl;


import com.fcc.wfly.entitlement.domain.EventSolution;
import com.fcc.wfly.solution.controller.dao.SolutionDao;
import com.fcc.wfly.solution.controller.service.SolutionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("solutionService")
public class SolutionServiceImpl implements SolutionService {

    @Autowired
    private SolutionDao solutionDao;

    @Override
    public List<EventSolution> getSolution(String eventCode, String pn) {
        return solutionDao.findSolution(eventCode,pn);
    }
}
